﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpMap.Presentation.Views;
using SharpMap.Styles;


namespace SharpMap.Presentation.Wpf
{
    interface ILayerView2D : IView  
    {
        StyleColor BackgroundColor { get; set; }
        
        /// <summary>
        /// Gets the height of view in world units.
        /// </summary>
        /// <returns>
        /// The height of the view in world units, taking into account <see cref="WorldAspectRatio"/> 
        /// (<see cref="WorldWidth"/> * <see cref="WorldAspectRatio"/> * 
        /// <see cref="BasePresenter{TView}.View"/> ViewSize height 
        /// / <see cref="BasePresenter{IMapView2D}.View"/> ViewSize width).
        /// </returns>
        Double WorldHeight { get; }

        /// <summary>
        /// Gets the width of view in world units.
        /// </summary>
        /// <returns>
        /// The width of the view in world units 
        /// (<see cref="BasePresenter{IMapView2D}.View" /> height 
        /// * <see cref="WorldUnitsPerPixel"/>).
        /// </returns>
        Double WorldWidth { get; }
    }
}
